﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Student.aspx.cs" Inherits="finalexam.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="height: 450px; width: 1050px">
    <div style="height: 175px; width: 1046px; float: left;">
        <div style="float: right; width: 140px;">

                <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                    <asp:ListItem>春天</asp:ListItem>
                    <asp:ListItem>夏天</asp:ListItem>
                    <asp:ListItem>秋天</asp:ListItem>
                    <asp:ListItem>冬天</asp:ListItem>
                </asp:DropDownList>
                <asp:Button ID="Button1" runat="server"  Text="确认" OnClick="Button1_Click" />

            </div>
&nbsp;
        <asp:Label ID="Label15" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#FF3300" Text="个人资料："></asp:Label>
        <asp:Label ID="Label6" runat="server" ForeColor="#FF6600"></asp:Label>
        <br />
        <br />
        &nbsp;&nbsp;
        &nbsp;
    <asp:Label ID="Label1" runat="server" Text="学号"></asp:Label>
    <asp:TextBox ID="txtNo" runat="server"></asp:TextBox>
        &nbsp;&nbsp;
        <asp:Label ID="Label2" runat="server" Text="姓名"></asp:Label>
        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
        &nbsp;&nbsp;
        <asp:Label ID="Label16" runat="server" Text="性别"></asp:Label>
        <asp:TextBox ID="txtGender" runat="server"></asp:TextBox>
        &nbsp;&nbsp;<asp:Button ID="btnRead" runat="server" Text="查询" OnClick="btnRead_Click" />
        &nbsp; 
        <br />
        <br />
&nbsp;&nbsp;
&nbsp;
        <asp:Label ID="Label17" runat="server" Text="籍贯"></asp:Label>
        <asp:TextBox ID="txtNatPlace" runat="server"></asp:TextBox>
        &nbsp;&nbsp;
        <asp:Label ID="Label3" runat="server" Text="年龄"></asp:Label>
        <asp:TextBox ID="txtAge" runat="server" style="margin-top: 0px"></asp:TextBox>
        &nbsp;&nbsp;
        <asp:Label ID="Label18" runat="server" Text="生日"></asp:Label>
        <asp:TextBox ID="txtBirth" runat="server"></asp:TextBox>
        &nbsp;&nbsp;<asp:Button ID="btnUpdate" runat="server" Text="修改" style="margin-top: 0px; margin-bottom: 0px" OnClick="btnUpdate_Click" />
        &nbsp;
        <br />
        <br />
        &nbsp;&nbsp;
        &nbsp;
        <asp:Label ID="Label4" runat="server" Text="系别"></asp:Label>
        <asp:TextBox ID="txtCol" runat="server"></asp:TextBox>
        &nbsp;&nbsp;
        <asp:Label ID="Label19" runat="server" Text="年级"></asp:Label>
        <asp:TextBox ID="txtClass" runat="server"></asp:TextBox>
        &nbsp; &nbsp;<asp:Label ID="Label5" runat="server" Text="备注"></asp:Label>
        <asp:TextBox ID="txtMemo" runat="server" Height="19px"></asp:TextBox>
        <br />
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br />
        <div style="width: 754px; height: 301px;">
&nbsp;
        <asp:Label ID="Label20" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="#FF3300" Text="查看全部资料："></asp:Label>
        <asp:Button ID="btnRead1" runat="server" OnClick="btnRead1_Click" Text="确认查询" />
        &nbsp;<br />
        <br />
        <asp:GridView ID="GridView1" runat="server" Width="736px" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3">
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#007DBB" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#00547E" />
        </asp:GridView>
        <br />
        <br />
&nbsp;&nbsp;&nbsp;
    </div>
        <br />
    </div>
</div>
</asp:Content>
